﻿<Page x:Class="ScoreMS.Views.Examination_paperAdd"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
      mc:Ignorable="d" 
      d:DesignHeight="300" d:DesignWidth="618"
	Title="Examination_paperAdd">

    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="72" />
            <RowDefinition Height="*" />
        </Grid.RowDefinitions>
        <TextBlock Text="添加试卷" TextAlignment="Center" FontSize="24" Margin="0,26,0,0"></TextBlock>
        <Grid Grid.Row="1">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="206*" />
                <ColumnDefinition Width="412*" />
            </Grid.ColumnDefinitions>
            <Grid.RowDefinitions>
                <RowDefinition Height="42*" />
                <RowDefinition Height="53*" />
                <RowDefinition Height="50*" />
                <RowDefinition Height="83*" />
            </Grid.RowDefinitions>
            <TextBlock Height="23" HorizontalAlignment="Right" Margin="0,19,0,0" Name="textBlock1" Text="所带课程" VerticalAlignment="Top" Width="61" />
            <ComboBox Grid.Column="1" Height="23" HorizontalAlignment="Left" Margin="15,16,0,0" Name="cbxCourse" VerticalAlignment="Top" MinWidth="120">
                <ComboBox.ItemTemplate>
                    <DataTemplate>
                        <TextBlock Text="{Binding course_name}"></TextBlock>
                    </DataTemplate>
                </ComboBox.ItemTemplate>
            </ComboBox>

            <TextBlock Height="23" HorizontalAlignment="Right" Margin="111,20,0,0" Name="textBlock2" Text="大题数（如，3）" VerticalAlignment="Top" Grid.Row="1" />
            <TextBox Height="23" HorizontalAlignment="Left" Margin="15,17,0,0" Name="txtbig" VerticalAlignment="Top" Width="120" Grid.Column="1" Grid.Row="1" />

            <TextBlock Height="23" HorizontalAlignment="Right" Margin="0,13,0,0" Name="textBlock3" Text="小题数（如,16）" VerticalAlignment="Top" Grid.Row="2" Width="85" />
            <TextBox Height="23" HorizontalAlignment="Left" Margin="15,10,0,0" Name="txtsmall" VerticalAlignment="Top" Width="120" Grid.Column="1" Grid.Row="2" />

            <Button Content="添加" Grid.Column="1" Grid.Row="3" Height="23" HorizontalAlignment="Left" Margin="15,27,0,0" Name="button1" VerticalAlignment="Top" Width="75" Click="button1_Click" />
        </Grid>
    </Grid>
</Page>
